package com.ruoyi.mall.common.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专题管理对象 dts_topic
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
public class DtsTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 专题标题 */
    @Excel(name = "专题标题")
    private String title;

    /** 专题子标题 */
    @Excel(name = "专题子标题")
    private String subtitle;

    /** 专题内容 */
    private String content;

    /** 低价 */
    @Excel(name = "低价")
    private BigDecimal price;

    /** 专题阅读量 */
    @Excel(name = "专题阅读量")
    private String readCount;

    /** 专题图片 */
    @Excel(name = "专题图片")
    private String picUrl;

    /** 排序 */
    private Long sortOrder;

    /** 专题相关商品序列码，用逗号分隔 */
    private String goods;

    /** 创建时间 */
    private Date addTime;

    /** 活动分享二维码图片 */
    private String shareUrl;

    /** 逻辑删除 */
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSubtitle(String subtitle) 
    {
        this.subtitle = subtitle;
    }

    public String getSubtitle() 
    {
        return subtitle;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setReadCount(String readCount) 
    {
        this.readCount = readCount;
    }

    public String getReadCount() 
    {
        return readCount;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }
    public void setGoods(String goods) 
    {
        this.goods = goods;
    }

    public String getGoods() 
    {
        return goods;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setShareUrl(String shareUrl) 
    {
        this.shareUrl = shareUrl;
    }

    public String getShareUrl() 
    {
        return shareUrl;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("subtitle", getSubtitle())
            .append("content", getContent())
            .append("price", getPrice())
            .append("readCount", getReadCount())
            .append("picUrl", getPicUrl())
            .append("sortOrder", getSortOrder())
            .append("goods", getGoods())
            .append("addTime", getAddTime())
            .append("updateTime", getUpdateTime())
            .append("shareUrl", getShareUrl())
            .append("deleted", getDeleted())
            .toString();
    }
}
